package com.lbb.waimai.entiry;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lbb.waimai.entiry.base.BaseEntry;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("t_order")
public class Order extends BaseEntry {


    //0未支付，1已支付，3为已完成，4为退款中,5为已退款
    private Integer status;
    private Integer uId;
    private String uNikeName;
    private BigDecimal totalPrice;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    private Date offTime;
    private String uAddr;
    private String info;
    //订单号
    private String orderNumber;


}
